<template>
	<view class="page-wrapper">
		<view v-for="(item,index) in list" :key="index" class="box">
				<!-- <view  class="box"> -->
					<view class="flex between" >
						<view>{{item.name}}<span style="margin-left: 6rpx;color: #0286FA;">{{item.count}}</span></view>
						<view style="color: #999999;">+{{item.credit}}</view>
					</view>
					
		</view>
	</view>
</template>

<script>
import {api} from '@/util/api.js';
export default{
	data() {
		return {
			userInfo: null,
			list: {},
			loginStatus: 0,
			isView: false
		}
	},
	onLoad() {
		this.getMyFortuneStar()
	},
	methods:{
		
		getMyFortuneStar() {
			api.getMyFortuneStar({}, res => {
				this.list = res.data;
				console.log(this.balance)
			})
			
		},
	}
	
}
</script>

<style scoped>
	.page-wrapper {
		box-sizing: border-box;
		
	}
	.box {
		background-color: #ffffff;
		border-radius: 20rpx;
		box-sizing: border-box;
		padding: 40rpx;
		margin-top: 40rpx;
	}
</style>
